package org.example.job;

import com.dangdang.ddframe.job.api.ShardingContext;
import org.rcy.framework.job.elastic.SimpleElasticJob;
import org.springframework.stereotype.Component;

/**
 * @author 吴康桥
 * @Description
 * @date 2023/10/30 13:47
 */

@Component
public class TestJob extends SimpleElasticJob {

	protected TestJob() {
		super("0 0/1 * * * ?");
	}

	@Override
	public void execute(ShardingContext shardingContext) {
		System.out.println("测试分布式job");
	}
}
